package cn.didi.feidi.androidorder.db;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;

import org.greenrobot.greendao.database.Database;

public class FeiDiOpenHelper extends DaoMaster.OpenHelper {
    public FeiDiOpenHelper(Context context, String name) {
        super(context, name);
    }

    public FeiDiOpenHelper(Context context, String name, SQLiteDatabase.CursorFactory factory) {
        super(context, name, factory);
    }

    /**
     * 数据库升级时的操作，
     *
     * @param db
     * @param oldVersion
     * @param newVersion
     */
    @Override
    public void onUpgrade(Database db, int oldVersion, int newVersion) {
        // TODO: 2017/8/13 升级的时候数据库的
//        super.onUpgrade(db, oldVersion, newVersion);
    }
}
